<include file="Public/header"/>
<div id="tool_bar">
    <div class="plugin"></div>
    <div class="search r">
    </div>
</div>
</div>
<div id="page_body">
    <div class="main_warp" id="main_warp">
        <div class="main_body" id="main_body">  

            <div class="mod space">
                <div class="m_bd">
                    <div class="form">

                        <form method="POST" action="{:U('Admin/Adduser/index')}" style="margin:0">
                            <div class="m_head" align="center">
                                <INPUT TYPE="submit" class="button" value="增加一个用户" style="margin-top: 20px;padding: 10px"/>
                                <div style="padding-top: 20px;padding-bottom: 20px">
                                    <table border="1">
                                        <tr>
                                            <th colspan="6" background="__ROOT__/static/images/tab_05.gif">用户列表</th>
                                        </tr>
                                        <tr>
                                            <th background="__ROOT__/static/images/tab_14.gif">用户名</th>

                                            <th background="__ROOT__/static/images/tab_14.gif">姓名</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">电话</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">店铺地址</th>

                                            <th background="__ROOT__/static/images/tab_14.gif">角色</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">操作</th>
                                        </tr>
                                        <volist name="userList" id="uList">
                                            <tr>
                                                <td width="100px" align="center">{$uList.username}</td>

                                                <td width="100px" align="center">{$uList.name}</td>
                                                <td width="100px" align="center">{$uList.phone}</td>

                                                <td width="100px" align="center">{$uList.address}</td>

                                                <td width="100px" align="center">{$uList.status}</td>

                                                <td width="100px" align="center"><a href="{:U('Admin/Modifyuser/index?userid='.$uList['id'])}" style="color:blue">修改</a>
                                                    <a href="{:U('Admin/Usermanage/del?userid='.$uList['id'])}" style="color:red">删除</a></td>
                                            </tr>    
                                        </volist>


                                    </table>


                                </div>
                            </div>
                            <hr style="color: black" />
                        </form>

                    </div>          
                </div>

            </div>
        </div>
    </div>
</div>

<include file="Public/footer"/>